<div class="container">
    <?php echo validation_errors("<div class='alert alert-danger'>", "</div>"); ?>
    <form class="form-horizontal" method="post">
        
        <div class="control-group">
            <label class="control-label">#</label>
            <div class="controls">
                <?=$proveedor['idProveedor']?>
            </div>
        </div>
        
        <div class="control-group">
            <label class="control-label">Proveedor</label>
            <div class="controls">
                <input type="text" class="input-block-level input-xlarge" name="proveedor" id="proveedor" value="<?=$proveedor['nombre']?>">
            </div>
        </div>
        
        <div class="control-group">
            <label class="control-label">Acepta VISA</label>
            <div class="controls checkbox">
                <input name="visa" type="checkbox" value="1" <?=($proveedor['visa']==1)?'checked':''?>>
            </div>
        </div>
        
        <div class="control-group">
            <label class="control-label"></label>
            <div class="controls">
                <button type="submit" class="btn btn-primary">Modificar</button>
            </div>
        </div>
        
    </form>
</div>

<script type="text/javascript">
    $(document).ready(function() {
        $("#proveedor").focus();
    })
</script>